package com.lcredu.lcrsnack.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lcredu.common.utils.PageUtils;
import com.lcredu.lcrsnack.commodity.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品分类表
 *
 * @author lcr
 * @email lcredu@gmail.com
 * @date 2023-10-24 14:58:55
 */
public interface CategoryService extends IService<CategoryEntity> {

    //返回所有分类及其子分类
    List<CategoryEntity> listTree();

    PageUtils queryPage(Map<String, Object> params);
}

